load("@rules_cc//cc:cc_test.bzl", "cc_test")

cc_test(
    name = "unittests",
    srcs = glob([
        "unittest/**/*.cpp",
        "unittest/**/*.h",
    ]),
    data = ["//:bin"],
    local_defines = ["RAPIDJSON_HAS_STDSTRING"],
    deps = [
        "//:rapidjson",
        "@googletest//:gtest",
    ],
)
